clear actually does not change the capacity