use set instead of deprecated Set