Added some logic to player