add next skip algoritm