move line declaration outside of loop
only remind user of how to exit if they press ctrl+c without typing any input