example for setting membership