Feature/auto lending