implementing simple membership