demo limit calculation and message