worked except RESET function...