work on template, start table class