make functions available for import
chapter 8 half way through