added xls functionality