Code for poll-House project.