Working on resolving the issue with temporaries.