Couldn't this throw a null pointer exception?