Got treatment assignment working