add factory to easy start.