How to get around pdt rule