what one might expect the function does:
- check if there is sufficient risk capital in the risk pool
- block the right amount of risk capital
- set application to underwritten
- create a policy
what the function does:
- all the above
- collect premiums if possible
possible ways to improve over current state
- rename function to something less misleading
- remove premium collection from function scope
- ... ?