Problems 6, 7 done