added template exercise 2