Began work on collision detect loop