better working collision detection