amending poll.index view