base class templates for goals