loan-types initial design