milliseconds should be optional