made some ruby changes
more refinements
god i hope this works hahaha