rebuilt entire page from scratch