What are the two principal functions of the...