add api function to find eq by name