added master_code_diferential