removed implicit global on collisionBox