format history form