updated processPTR to be more idiomatic.. added time tracking for PTRs