added a command to calculate the current average wait time