added excel writing