Change n to key