fixed rank class in loans tables