adding collision to demo