added ruby to code