preparing master