removed logging from xc