added export function to xlsx format