Add timer to gauge performance
Add slower object oriented version