Added $varName = function syntax for @before