Completed assignment (caching result of a function in an object)