input parsing done; first iteration complete -- next up : parallelization