saving now works with new format