implemeneted basic html parsing