updated variable reader