Added functionality to add multiple tags