removed unused master variable