debug a little for goals, still lots more debugging to go