added missing register method