added stub for register
added register