Added collision to generation