Completed Parsing Code