implemented jump method with documentation