Finished Main Routine before Debug