add method to locate the first recognizable command in a list