code to accompany Wijmo Essentials book