changed to a ruby file