processing the entire html