added register in global setup