Creating Legacy for legacy code