add global assignment support