Template method exercises