Use temporary instead of a local variable here