added all collision functions