edits to compile...

in.readLine() doesn't work with try and catch :(