only cout, cerr, endl are used so far