renamed readLine to readSTD