correcteed the function so it works for a single target commodity
corrected reference name