demo code for CNN shoot