added license, correctly removing timeOut when input is complete