added some helper methods for gestures