sample code for screencasts