modified master template