small refactoring of raffle pot