renamed from type to payment method and added payment period