implemented storage_key hook