set_time_limit(30) to treatment