a few fixes to missed goals. building sub-goal infrastructure