lab5: Collide now works with mediator.