move reset out of base to separate file