Renamve variable 'key' to 'master_key' for expressivness