Added acknowledgement for newRect function