#13 added datatypes to flatten
Merge pull request #14 from itayw/develop

#13 added datatypes to flatten