ch3-functions