Added Server side Collision Detection