add time limit feature