Modifing the tags method