start using Set in place of the one from cpp