store types in hash(map)

need to split types for some files