onInput, onComplete, onError functions