some changes to gesture