Using new instead of factory method