added support for multiple tags