cleanup bucket contributions code
be more descriptive