Fixed setInput signature