add the use of inputStreamReader class