add array class and time clock