now we are getting both horizontal and vertical correct at least on the first image