make collision work