added bucket calcs