implemented 'member' that uses 'case'.