horizontal and vertical winner