done with RiskAssessment.php and saveVotes. Also update the calculation part in closeVotingPeriod.php to exclude those astain and has not vote yet