Tested with ruby 2.1