correctly printing out the gestures in gesture demo