added utility - inputreader