updated the problem with tags