add layout to index