indexes involved in horizontal and vertical