Write new code