write coding demo