path element parsing first step