added getClass.m