example code for howtojboss.com