added master variable