Hardening the input so that if there's invalid keys pressed it will just ask again until you put in an acceptable key.