work still in progress for interp, to be tested