master_countglobal
incrementlocal
internal_countglobal
ilocal to main