use line-length in distance, better var names in red-shape, and shorten the purpose statement in collide?