added removeCompleted