I like this implementation a lot. I'm curious why defining it as a const before returning it is more efficient?