added an example how to export to xls but can't get it working with our code