Searching in internal/gate