my code answer to adriann's test