diff page and history page kinda working