why are u using die instead of croak here?