Implemented loadInput()