now need to make fork for loop work.