begin write loan models spec