added the section on functions