2001 code commit, moved from sword-tools repository