input-loop - complete.