use eql instead of eq to compare numbers