added variable registry.