added board filling and consecutive sequence.