- modify code for excel processing