implemeted reorder_add