allow param_type to be specified