finished parse_key(key)