fn parse_doc(mut doc elements.Doc) !
DO NOT CHANGE THE WAY HOW THIS WORKS, THIS HAS BEEN DONE AS A STATEFUL PARSER BY DESIGN THIS ALLOWS FOR EASY ADOPTIONS TO DIFFERENT RELIALITIES