removed unnessisary code in willCollide method