add waiting time
rename the method