use 1.9 syntax for jruby compatibility