Code framework