extracted tags parser, might be useful later on