initial commit

move the logging to be after the continue