changed how goals are stored, to learn implicit arguments