began with ex2 from sw2
made some further development on ex2 sw2