Sort of working _write_intercept routine