Adding membership testing