minimize allocation calls when saving