Input now uses List instead of array