apply new code