Poll.java updated