remove comments
add a debug print line
move pmv after pps