orientation working for square
upside down orientation working