refactored setting tz out of convert()