Started utilising a certain function

code in player.update() is now in use