changes to the ruby file