some work on ex1