more of prob 6 done