Added function begining before bailing to my machine.