Spitballing a solution
Updating index to debug time