adding class & level as arrays