add main process flow comments