add the registe functionality