getTypes works

error is further down in the code.
Merge pull request #16 from AppGroup/master

change
map

lined up the buttons