adds `name` variable to context