Added recognize all functionality