<Dl> <Dt> Status </Dt> </Dl> <Table> <Tr> <Th> No . </Th> <Th> Portrait </Th> <Th> Name </Th> <Th> State of residence </Th> <Th> Took office </Th> <Th> Left office </Th> <Th> Days served </Th> <Th> Presidents </Th> </Tr> <Tr> <Td>--</Td> <Td> </Td> <Td> Elizabeth Warren </Td> <Td> Massachusetts </Td> <Td> September 17, 2010 </Td> <Td> August 1, 2011 </Td> <Td> 318 </Td> <Td> Barack Obama </Td> </Tr> <Tr> <Td>--</Td> <Td> </Td> <Td> Raj Date </Td> <Td> Washington, D.C. </Td> <Td> August 1, 2011 </Td> <Td> January 4, 2012 </Td> <Td> 156 </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> Richard Cordray </Td> <Td> Ohio </Td> <Td> January 4, 2012 </Td> <Td> November 24, 2017 </Td> <Td> 2151 </Td> </Tr> <Tr> <Td> Donald Trump </Td> </Tr> <Tr> <Td>--</Td> <Td> </Td> <Td> Mick Mulvaney (Disputed) </Td> <Td> South Carolina </Td> <Td> November 25, 2017 </Td> <Td> Incumbent </Td> <Td> 131 </Td> </Tr> </Table> <Tr> <Th> No . </Th> <Th> Portrait </Th> <Th> Name </Th> <Th> State of residence </Th> <Th> Took office </Th> <Th> Left office </Th> <Th> Days served </Th> <Th> Presidents </Th> </Tr> <Tr> <Td>--</Td> <Td> </Td> <Td> Elizabeth Warren </Td> <Td> Massachusetts </Td> <Td> September 17, 2010 </Td> <Td> August 1, 2011 </Td> <Td> 318 </Td> <Td> Barack Obama </Td> </Tr>

What is the main function of the consumer financial protection bureau