daily_limit function pretty much there