Changed retainAll to removeAll