Refer to Section 5.2.5 for detailed description about this function.