begin work on reading input