use `typ' gotten rather then lookup the `typ' again