Out of curiosity, how does it work indexing the output of a function where the value is constantly changing?