renaming parseKey to parseName