. What are the main functions of a bank?