commit related to issue 9. now only votes handling has to be done