Eliminated underscore.flatten