added reorder method and persistence