using a new template - problems 1 to 3 are changed