working on player controller