slight change to logging