now using upper left and lower right everywhere