added excel outputting