trestor voting backend