More progress for the hacky ruby impl