hadn't removed an old line of code computing res
code clean up