updating to support ruby2.1