class_ex1 updated.