added register text to main