Laying out parsing routine