Detecting particular sequence of bits