added register stuff