copy of production code