cache installment status instead of calculating it every time