use proper comparison