fixing up the thunk example