refactored algorithm, started parsing Einav data