refator the page