working on templated container