added selection support on loan table