reduce_path added