add procedure rundailyremain