Added return string to getFactoryID