Added key_derivation