Add jump and compare function