some redundant ids removed