finished coding html parser