revert back to codes