working on jet_alg