Added pause for input