use epsilon to compare double numbers