working on the items in the index page