cout/cerr working
stub fix