use -eq for integer comparison.