flatten all the things