add possibility to add subgoals
added feature to see sub goals