added excel expot function