updated example
updated to work with CrossWorks v3