finished simple functions in chapter 8, folder compilation and init functions for tomorrow.