updated ex1