inline module runtime helpers