made a slight change to the parse function to avoide the HTTTPS error