simper should check user input.