Added bucket parameter in main.cpp