template-lab6 working