for typedefs changed name of type to be name of typedef