fixed by changing milliseconds to seconds