removed dup if-else.rb file