added bucket class