added collision detection and score label