code sample idented for syntax coloration