work with ruby 2