Change bucket to a vector, add print function