initial parsing code