updated adding classes