error handling and userAnswer cleansing