#46 save to file first