sample code from book added to folder fromBook