saved ic_str for debugging, added output