Revert back the change of seconds to milliseconds. Need to test it properly