variable 't' 's name changed to 'global'