own flatten without underscore