Gesture Recognition code added