removed setInputArray() method