several fixes & redid ex_6 b