made PlayerSpawn a function