add support for milliseconds