add ref to the parse call to optimize the parsing process