working on parsing tags