added hasOverlap and pink background
added pink background