Match3 logic updated