using extended layout in index