added p controller back in