moved Type info to erlimemnet