added varcosts