modifid to sample index page