BC-06 

implemented collisions detection