The talk is about the discrepancy function which describes the distribution of a discrete set in a square and some estimates for that function in the BMO and in certain Orlicz spaces