added collision.