added getClass methods