Added support for multiple tags