assign_times method work