use set to store pubkeye