adding qs base class