added function to player controls