more code to help with better collision detection