writting the output excel