second try to make exception handling better
intermediate update to exception handling
another improvment
clean up commit
improve integer intake but not string intake
makes the code work