Moving repeated vote business logic to a module