collision method