partial implementation of export to excel