test for last node
if(last (ps))