Working contracts impl to var.  Not working directly for inlined functions.