abstracted goals calculations