removed createResetButton code, only exposing reset function now