3rd example solved