Added key() functions