Function source code for insurance exposure