add modified conditional.rb