correct class type