added shutter callback