Added Tag writing