added excel export, started new algo