check if prn > 0. if not dont prune
removed unused 'n'