use integer comparison