added enemyCollision code