Added dump_param function