gesture stuff written (untested)