set up master