changed 'index' layout