adding debugging for descriptor types