Completed extra credit #8