stored layout functionality added