Assign in the sync block