start of hex parsing part