added a code snippet to print all class names