is this intermmediate variable really needed?