inefficient comparison