move rest of addtype functions to helpers
move all the addtypes functions to helpers