todo: fix P_STOP so it actually changes stuff