update of the new code