added `elem` - basically a 'contains'