leeneia - if you copied it off the web page directly, did you delete the leading spaces that are on the lines (the headers are all indented). That's probably the cause of the problem. (As you can see from the listing there really is a K field).
Mick