full run completed and analysis code is working pretty well