templates take child container as parameter now