Added pause at end of main