Implements saving