reading indefenitely, more debug output