shouldn't this throw and exception?