added print statements for collision