ex6 done + misc