add method reset, main is changed, method shake is changed