Don't we have logic elsewhere that does something like that?