trying to re-code the gesture rec to work in the therapists' interface