added collision detection demo