old WriteOut working efficiently