now with tag support for parsing