completed loadToList method
completed readInput method