changes table into other structure by template at breakpoint