add outdate checking