init members in SharedKey constructor