https code finish