adding udp parsing for array