changed initialization of p