add build doc for history
work on first method on controller