Removed extra commented out code & extra function for player