adding functions to start and stop the compare stacks