added output_domain