add write example