use build-history to initialize state, display in UI