deleted unnessary part of converting to excel