cost table
merge conflicts