adding more html analyze functionality