adjusted id code