copy in_class_exercise1