write new code