changing to use .seconds
using default context instead of TLS