Added key-join function