expanded output

transitional work towards flattened output