rem function (no fallback)