inquiries functionality