Started on collisions code.