Check collision method added