Found a better way to write toCloseTo