added player touch functionality