Local function rewritten to use justIf