rename p to period