Work on writing the excel part