creating gem for voteable