New tag writing procedure