Updated for "Reset" function