works but not log see new branch