Adjust code struct