removed getInputArray method. Use getInput().toArray() instead