order of operations error
material management