solved numbers 7 & 8