tags should be passed as an array