NOTE

Instead of using epsilon definition there’s a better way to do it which is much shorter.