fixed stringifiyVar, added examples/functional