Added case for invalid parameters in make_one