working draft of gestures with dollar recognisation