the purpose of an emergency fund is to