add write to wiles