allow for override of class type