Changed timer to total seconds