Tpch State -- construct agenda object and pass it around --bug fix