Added client side code for the cannon