added code for camjam demo