added rudimentary insurance model, fixed meta bug