added p to a view