removed notifyAll param