Searching in cfg