register method to supress warning