specify loan type as string