updated challenges 4, 5, 9