added time_limit in validator