added needed :d in condition.rb: