added back in index contents method