refining parsing methods