rudimentary saving of layouts