oops got a coule things wrong in the last example