insurance functions