Changed the amountOfMilliSeconds to the amountOfSeconds.