added build cost stuff