change template, make tables work