forgot to check for new name type