move reset into base