Removed other use of streams; use sync calls here