getting initial master