various + local closure hack