working on integrating goal learning