implemented multi tag support