Prepare master