check for 3 marks in row