add some comments
pass state to find_collisions()
simplify collision checking