save global with provided name works