Added a shortcut function for collisions (name may be changed)