beginning of real decision controller --KW