added register command