passing bucket in params