set up master key