testing using sets