fixed the last example