Not ideal, but this works.