removed clearlayers function + added information in collision.h