error output

need to read error output as well.