key has the value of undef