added registry init