initial parsing workflow