added base class for simple model