This is a clone of JIP