Got UCS working, I believe.  Just need to double check the solution.