starts work on jump chains, but is buggy