test and more logging