Added comments to jump function