changed to ruby 2