I want to use if statement so that it will look similar to the next example(equalsEpsilon)