util done
refactor readInputList