version 0.0.6 add guesture detector function