code framework