un-flatten output, added release keyword