added new methods to Factory