add cos by goals