CODE FOR OTM VOTING