added multiple tag parsing