to write the ending - WZTMV