working on keep both w\ and w\o thickness codes