removed old methods from factory