first attempt at using the new shape[] property for the collision detection