2nd example solved