Vote System implementation with lots of first-class functions used