new class for dealing with template issues