added checks for one minute left and ten minutes left