switiching to IO instead of IOStream to allow reading from STDIN