move installments_for_select to a helper