use set remove duplicated objects