Seems to me like this should be tested for an error.