Added fuctions for separate handling collisions