view changes to support subgoals. might need to put them in a table