added missing set statement