add write example and switch to leather data