added ILC wrapper from Sarah, modified by Brian