resetvariables

added reset variables method with 3 second wait