added API's to register