Jeremy Patrick: adjusted alert to address entire input instead of single character