Query module developed