renamed delay to delayTime and corrected start/stopTask capitalizaiton