x is columns and y is rows