border cases of horizontal and vertical added
another idea...