commented out the detectRunObjective function that is supposed to be moved