new code framework