Updated for Tutorial 2 of Polls app