use local_assigns var