working on correcting goal constraints