restructured output