use ruby for milliseconds.