about to start working on splitting up big while loop
parsing args done, now to malloc array