let process functions accept argc & argv