used set for checking