making reverse hierarchy for books v1