building saving variables