added input error message