implementing p_ using s_