Implementation of saveManager