trying different approach to decode the chip sequence