inner_loop.xc had been corrupted by merge. This is corrected version