using voting gem as methods