basic gesture recorder