adding challenge9 and 10