added register and groups