ptor primarily func