factory required to be static
ignore ssl warnings