Storing results in the right spot