add check function
gesture complete