add wrap method to Tag