Reorganizing functions. Still not sure where this group goes.  Naming issue, maybe? Don't want to create a new module...
Removed unnecessary Flatten call