retrying last function with slice