revised example, fixed typos
machinemade