could you reuse the variable seconds? From the name there is no difference between seconds and sec.