workign with fixed code and jackknifes