changes to index and layout