added cerr, clog