implemented M/M/k