renamed and cleaned ruby GA solution