for saving maui resources