adding writing excel functionality