still stuggling with template