refactor book show