use loan pattern