[HW]	-- added query functionality to repository