add logging
more logging