type builder - changing .getline() for redefinition