further work on ex2