Adding code for trial runs to see what is up.