Re wrote whole page