changes in design for vote setting and model validations