Create next_if.rb