proper history management