modified master tex