refactored collision box