ex1 tutorial