now can supply the goal as a string